package com.example.light.web.personal.entity;

import java.util.Date;

public class Schedual {
    private Integer schedualId;

    private String schedualTitle;

    private String schedualContent;

//    @DateTimeFormat(pattern = "YYYY-MM-DD hh:mm:ss")
    private Date schedualStart;

//    @DateTimeFormat(pattern = "YYYY-MM-DD hh:mm:ss")
    private Date schedualEnd;

    /**
     * -4过期已完成
     * -3过期未完成
     * -2过期未完成
     * -1未过期未完成
     * 0弃用
     */
    private Byte schedualStatus;

    private Integer userId;

    public Integer getSchedualId() {
        return schedualId;
    }

//    public String getSchedualStart() {
//        return schedualStart;
//    }
//
//    public void setSchedualStart(String schedualStart) {
//        this.schedualStart = schedualStart;
//    }

//    public String getSchedualEnd() {
//        return schedualEnd;
//    }
//
//    public void setSchedualEnd(String schedualEnd) {
//        this.schedualEnd = schedualEnd;
//    }

    public void setSchedualId(Integer schedualId) {
        this.schedualId = schedualId;
    }

    public String getSchedualTitle() {
        return schedualTitle;
    }

    public void setSchedualTitle(String schedualTitle) {
        this.schedualTitle = schedualTitle == null ? null : schedualTitle.trim();
    }

    public String getSchedualContent() {
        return schedualContent;
    }

    public void setSchedualContent(String schedualContent) {
        this.schedualContent = schedualContent == null ? null : schedualContent.trim();
    }

    public Date getSchedualStart() {
        return schedualStart;
    }

    public void setSchedualStart(Date schedualStart) {
        this.schedualStart = schedualStart;
    }

    public Date getSchedualEnd() {
        return schedualEnd;
    }

    public void setSchedualEnd(Date schedualEnd) {
        this.schedualEnd = schedualEnd;
    }

    public Byte getSchedualStatus() {
        return schedualStatus;
    }

    public void setSchedualStatus(Byte schedualStatus) {
        this.schedualStatus = schedualStatus;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}